package com.clover.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by sanyecao on 2017/10/13.
 */
@Controller
@RequestMapping("/clover/demo")
public class DemoController {

    /**
     * 测试
     * @return
     */
    @ResponseBody
    @RequestMapping(value = "/testA",method = RequestMethod.GET)
    public Object testA(){
        return "hello";
    }
}
